package com.mo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * cdn相关配置
 *
 * @author lizhihao
 * @date 2018-07-17 17:47
 */
@Configuration
@ConfigurationProperties(prefix = CDNProperties.CDN_PREFIX)
public class CDNProperties {
	public static final String CDN_PREFIX = "baseInfo.cdn";
	private String[] oddsUrl;
	private String cdnUrlForLenovo;
	private String[] inoperationUrl;
	
	public String getCdnUrlForLenovo() {
		return cdnUrlForLenovo;
	}
	public void setCdnUrlForLenovo(String cdnUrlForLenovo) {
		this.cdnUrlForLenovo = cdnUrlForLenovo;
	}
	public String[] getOddsUrl() {
		return oddsUrl;
	}
	public void setOddsUrl(String[] oddsUrl) {
		this.oddsUrl = oddsUrl;
	}
	public static String getCdnPrefix() {
		return CDN_PREFIX;
	}
	public String[] getInoperationUrl() {
		return inoperationUrl;
	}
	public void setInoperationUrl(String[] inoperationUrl) {
		this.inoperationUrl = inoperationUrl;
	}
	
}
